package cdu.hjx.project.care.mapper;

import cdu.hjx.project.pojo.Patients;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PatientsMapper {
    // 添加患者信息
    int insertPatients(Patients patients) throws Exception;
    // 根据患者身份证号查询患者信息
    Patients findByIdCard(String idcard) throws Exception;
}